home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
util
/
restools.sit
/
ResTools 3.20.rsrc
/
HTXT_8_Giving resources names and setting attributes_
< prev
next >
Wrap
Text File
|
1988-12-28
|
537b
|
17 lines
Resources can be given names by including a name after the
resource ID and before the attributes entries. Example:
resource 'STR ' (128, "ResourceName" , preLoad)
{
"This is a named string resource"
};
The following attributes are predefined although any numeric expression
is also acceptable: "sysheap","purgeable","locked","protected", "preload".
The following are some examples of how these can be used:
(128)
(128,preload,purgeable,locked,protected)
(128,34)
(128,"SuperResource",preload+locked)